import { Global, Module } from '@nestjs/common';
import { ConfigureService } from './configure.service';

import configure from './configure';
import { ConfigModule } from '@nestjs/config';

@Global()
@Module({
  imports : [
    ConfigModule.forRoot({
      isGlobal : true,
      ignoreEnvFile : true,
      load : [configure]
    })
  ],
  providers: [ConfigureService],
  exports: [ConfigureService],
})
export class ConfigureModule {}
